[VERSN2]
//unlocks memory files and installs speedreflect.asi in scripts folder
unlock_memory all
speedreflect auto

//copies geometry.bin, textures.bin and vinyls.bin files from the <XNAME> folder in the mod's folder to the CARS\<XNAME> folder of the game, will overwrite existing files (override)
move_file override relative absolute <XNAME>\GEOMETRY.BIN CARS\<XNAME>\GEOMETRY.BIN
move_file override relative absolute <XNAME>\TEXTURES.BIN CARS\<XNAME>\TEXTURES.BIN
move_file override relative absolute <XNAME>\VINYLS.BIN CARS\<XNAME>\VINYLS.BIN

//copies <XNAME>.ini from the mod folder to the scripts\UnlimiterData folder
move_file override relative absolute <XNAME>.ini scripts\UnlimiterData\<XNAME>.ini

//adds the car's name text strings in game (eg: Integra)
add_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"
add_string LANGUAGES\SPANISH.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"
add_string LANGUAGES\DANISH.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"
add_string LANGUAGES\DUTCH.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"
add_string LANGUAGES\FRENCH.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"
add_string LANGUAGES\GERMAN.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"
add_string LANGUAGES\ITALIAN.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"
add_string LANGUAGES\KOREAN.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"
add_string LANGUAGES\SWEDISH.BIN STRBlocks GLOBAL AUTO CAR_NAME_<XNAME> "<car name>"

//this is a check for FRONTB.lzc files modified with TexEd, since it changes the collection name of the textures to DEFAULT for some forsaken reason
if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
//adds the secondary logo from the SECONDARY_LOGO_<XNAME>.dds (eg: SECONDARY_LOGO_350Z) in the mod folder
add_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT SECONDARY_LOGO_<XNAME> "SECONDARY_LOGO_<XNAME>.dds"
//(optional) adds manufacturer logo (eg CARSELECT_MANUFACTURER_BMW; remove the double slashes at the beginning to use)
//add_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CARSELECT_MANUFACTURER_<MANUFACTURER> "CARSELECT_MANUFACTURER_<MANUFACTURER>.dds"
else
add_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_<XNAME> "SECONDARY_LOGO_<XNAME>.dds"
//add_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_<MANUFACTURER> "CARSELECT_MANUFACTURER_<MANUFACTURER>.dds"
end

//imports the DBModelParts.bin file
import override GLOBAL\GLOBALB.LZC DBModelParts DBMODELPARTS.BIN

//(optional) copies a part override node to use a different spoiler (for example this will copy the override for the spoiler from the Peugeot 206, so the car will use hatchback spoilers - remove the double slashes at the beginning to use)
//copy_collection GLOBAL\GLOBALB.LZC SlotOverrides PEUGOT_PART_SPOILER <XNAME>_PART_SPOILER

//imports the CarTypeInfos.bin file
import override GLOBAL\GLOBALB.LZC CarTypeInfos CarTypeInfos.BIN


//(optional) makes back up of existing ##.ini file in the game's scripts\carsounddata\cardatamapping\ folder, will skip if those exist already (negate)
//move_file negate absolute absolute scripts\carsounddata\cardatamapping\##.ini scripts\carsounddata\cardatamapping\##.bak

//copies <XNAME>.ini files from the scripts\carsounddata\cartypemapping\ folder in the mod's folder to the scripts\carsounddata\cartypemapping\ folder of the game, will overwrite existing files (override)
move_file override relative absolute scripts\carsounddata\cartypemapping\<XNAME>.ini scripts\carsounddata\cartypemapping\<XNAME>.ini

//copies ##.ini files from the scripts\carsounddata\cardatamapping\ folder in the mod's folder to the scripts\carsounddata\cardatamapping\ folder of the game, will overwrite existing files (override)
move_file override relative absolute scripts\carsounddata\cardatamapping\##.ini scripts\carsounddata\cardatamapping\##.ini
